package puzzle.ftest.solver.giant;

import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;

import org.junit.Test;

import puzzle.common.solver.SolverAbortingException;
import puzzle.ftest.solver.base.SolverTestBase;
import puzzle.masyu2.data.MasyuBoard;
import puzzle.masyu2.view.swing.MasyuSolverAppMetadata;

public class MasyuSolverTestWithGiant extends SolverTestBase<MasyuBoard>{

	public MasyuSolverTestWithGiant() {
		super(new MasyuSolverAppMetadata());
	}

	private void solve(String name) throws SolverAbortingException, IOException {
		Reader r = new FileReader("resource/problem/masyu/" + name);
		MasyuBoard b = m_metadata.createLoader().load(r);
		solve(name, b);
	}
	
	@Test
	public void test105() throws IOException, SolverAbortingException {
		solve("masyu-nikoli-105-6.txt");
	}

}
